//
//  YMTranslacteResult.h
//  YueYue
//
//  Created by LiuYu on 2024/10/24.
//

#import "HLBaseRequest.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, YMTranslacteRequestType) {
    YMTranslacteRequestTypeTranslacte,  ///< 翻译
    YMTranslacteRequestTypeSaveSelfLang,///< 保存自己的语言
    YMTranslacteRequestTypeGetUserLang, ///< 获得目标用户的语言
    YMTranslacteRequestTypeGetTimeout   ///< 讯飞翻译的超时时间
};

@interface YMTranslacteResult : NSObject
@property (nonatomic, copy) NSString *msgId;
@property (nonatomic, copy) NSString *text;
@end

@interface YMTranslacteRequest : HLBaseRequest
- (instancetype)initWithType:(YMTranslacteRequestType)type;

@property (nonatomic, strong) NSDictionary *params;

@property (nonatomic, copy) NSString *tranlacteResult;
@end

NS_ASSUME_NONNULL_END
